﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HY.DataAccess;

namespace EntityCor
{
   public class ConHelper
    {
       public static IDBSession GetDbSession
       {
           get
           {
               var dataBase = new Database(DatabaseType.MySql, "MySqlServer");
               var dbSessionBase = new DBSessionBase(dataBase);
               return dbSessionBase;
           }
       }
    }
}
